package com.mes.cloud.dto.extral;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Deacription :
 * @Author syn
 * @Date 2019/12/10
 **/
@ApiModel(value = "OrgExtralDTO", description = "组织信息")
@Data
public class OrgExtralDTO  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", dataType = "Long")
    private Long id;
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", dataType = "String")
    private String code;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称", dataType = "String")
    private String deptName;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型", dataType = "String")
    private String type;
    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID", dataType = "Long")
    private Long parentId;

    /**
     * 国家
     */
    @ApiModelProperty(value = "国家", dataType = "String")
    private String country;
    /**
     * 省
     */
    @ApiModelProperty(value = "省", dataType = "String")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty(value = "市", dataType = "String")
    private String city;
    /**
     * 区
     */
    @ApiModelProperty(value = "区", dataType = "String")
    private String area;
    /**
     * 街道
     */
    @ApiModelProperty(value = "街道", dataType = "String")
    private String street;
    /**
     * 是否启用
     */
    private String status;
    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称", dataType = "String")
    private String orgName;

    /**
     *
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date crtdate;

    /**
     *
     */
    @ApiModelProperty(value = "修改时间", dataType = "Date")
    private Date upddate;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", dataType = "String")
    private String remark;
    /**
     *
     */
    @ApiModelProperty(value = "是否删除：0:正常 1：删除", dataType = "Integer")
    private Integer isDelete;
    /**
     *
     */
    @ApiModelProperty(value = "是否启用：0正常/1禁用", dataType = "Integer")
    private Integer isEnable;

    @ApiModelProperty(value = "公司ID", dataType = "String")
    private String companyId;

    @ApiModelProperty(value = "公司名称", dataType = "String")
    private String companyName;

    @ApiModelProperty(value = "外部编码", dataType = "String")
    private String besidesCode;

    @ApiModelProperty(value = "公司统一编码", dataType = "String")
    private String companyCode;

    @ApiModelProperty(value = "父级编号", dataType = "String")
    private String familyCodes;

    @ApiModelProperty(value = "成本中心", dataType = "String")
    private String costCenter;

    @ApiModelProperty(value = "组织层级", dataType = "String")
    private String orgHierarchy;

    @ApiModelProperty(value = "组织标识：0/虚拟 1/标准", dataType = "String")
    private String orgSign;

    @ApiModelProperty(value = "组织类型", dataType = "String")
    private String orgType;

    @ApiModelProperty(value = "详细地址", dataType = "String")
    private String address;

    @ApiModelProperty(value = "创建人ID", dataType = "Long")
    private Long crtby;

    @ApiModelProperty(value = "修改人ID", dataType = "Long")
    private Long updby;

    @ApiModelProperty(value = "创建人名称", dataType = "String")
    private String crtbyName;

    @ApiModelProperty(value = "修改人名称", dataType = "String")
    private String updbyName;

    @ApiModelProperty(value = "上级名称", dataType = "String")
    private String parentName;

    @ApiModelProperty(value = "行政区划id", dataType = "Long")
    private Long areaId;
}
